package org.dream.domain;

/**
 * 
 * @author qiuriyuchen E-mail:panpan_001@126.com
 */
public class RisewidthResult {
	private String id;
	private String statisticsDay;
	private Double statisticsWidth;
	private int js;

	private int ADVANCE;
	private int DECLINE;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public int getJs() {
		return js;
	}

	public void setJs(int js) {
		this.js = js;
	}

	public Double getStatisticsWidth() {
		return statisticsWidth;
	}

	public void setStatisticsWidth(Double statisticsWidth) {
		this.statisticsWidth = statisticsWidth;
	}

	public int getDECLINE() {
		return DECLINE;
	}

	public void setDECLINE(int dECLINE) {
		DECLINE = dECLINE;
	}

	public String getStatisticsDay() {
		return statisticsDay;
	}

	public void setStatisticsDay(String day) {
		this.statisticsDay = day;
	}

	public int getADVANCE() {
		return ADVANCE;
	}

	public void setADVANCE(int num) {
		this.ADVANCE = num;
	}

	public Double getADVANCEPercentage() {
		if (this.ADVANCE == 0) {
			return 0d;
		} else {
			return (0.0 + ADVANCE) / js;
		}
	}
}
